﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="d" uri="/WEB-INF/resource.tld" %>

<fmt:setBundle basename="ApplicationMessage" />
<fmt:setLocale value="zh_CN" />

<!DOCTYPE html>
<html lang="zh-CN">
<head>

  <%@ include file="/WEB-INF/include/meta.jsp"%>
  <%@ include file="/WEB-INF/include/css.jsp"%>
  
</head>

<body>

  <%@ include file="/WEB-INF/include/header.jsp"%>
  
  <%@ include file="/WEB-INF/include/menu.jsp"%>
  
  <div class="container main-content">

    <div class="panel panel-default x-panel x-panel-layout">

      <div class="panel-heading">
        <ol class="breadcrumb">
          <li><a href="${ctx.host}/online-rounds">课程管理</a></li>
          <li class="active">课件管理</li>
          <li class="no-before pull-right" style="min-width: 65px;">
            <a onclick="window.history.back();"><i class="glyphicon glyphicon-arrow-left"></i>&nbsp;&nbsp;返回</a>
          </li>
        </ol>
      </div>

      <div class="panel-body">

        <div class="col-xs-2 x-panel-layout-left no-horizontal-padding">
          <%@ include file="/WEB-INF/include/submenu.jsp"%>
        </div>

        <div class="col-xs-10 x-panel-layout-right">

          <div class="x-breadcrumb-wrapper">
            <div class="x-breadcrumb clearfix">
              <h2><i class="glyphicon glyphicon-fire" title="分组模板详情"></i>&nbsp;&nbsp;<span>课程排期&nbsp;-&nbsp;上课课件</span></h2>
            </div>
          </div>
          
          <div class="x-breadcrumb-wrapper top-margin-20" style="position: relative; margin-top:20px;">
            <ul class="nav nav-pills x-breadcrumb-nav">
                <li class="pull-left"><a href="${ctx.host}/individual-rounds/${courseRound.id}?status=${status}">基本信息</a></li>
                <li class="pull-left "><a href="${ctx.host}/individual-rounds/${courseRound.id}/weekly-coursewares/1?status=${status}">家庭作业</a></li>
                <li class="pull-left active"><a href="${ctx.host}/individual-rounds/${courseRound.id}/round-coursewares/1?status=${status}">上课课件</a></li>
                <c:if test="${status!='prepare'}">
                <li class="pull-left"><a href="${ctx.host}/individual-rounds/${courseRound.id}/physical-data?status=${status}">身体数据</a></li>
                </c:if>
                <div class=" pull-right courseware-btn">
                  <a href="${ctx.host}/individual-rounds/1/weekly-coursewares/1/link" data-target="#link" data-toggle="modal">
                    <i class="glyphicon"></i>&nbsp;&nbsp;生成链接
                  </a>
                </div>
            </ul>
          </div>
          
          <div class="clearfix">
          
          <div class="row" >
          
            <div class="col-xs-2 template-submenu">
              <ul class="nav nav-pills nav-stacked template-list">
                <li class="submenu text-center ${rounds == 1 ? 'active' : ''}"><a href="${ctx.host}/individual-rounds/1/round-coursewares/1?status=${status}" >1&nbsp;-&nbsp;12</a></li>
                <li class="submenu text-center ${rounds == 2 ? 'active' : ''}"><a href="${ctx.host}/individual-rounds/1/round-coursewares/2?status=${status}" >13&nbsp;-&nbsp;24</a></li>
                <li class="submenu text-center ${rounds == 3 ? 'active' : ''}"><a href="${ctx.host}/individual-rounds/1/round-coursewares/3?status=${status}" >25&nbsp;-&nbsp;36</a></li>
                <li class="submenu text-center ${rounds == 4 ? 'active' : ''}"><a href="${ctx.host}/individual-rounds/1/round-coursewares/4?status=${status}" >37&nbsp;-&nbsp;48</a></li>
              </ul>
            </div>
          
            <div class="col-xs-10">
              <div class = "template-save">
                <button class="btn btn-success btn-shadow btn-shadow-success x-btn pull-right btn-save-all">全部保存</button>
              </div>
              <div class="schedule-action-layout">
              
                  <%--   BEGIN LEFT：1-6    --%>
                  
                  <div class="col-xs-12 col-lg-6">
                  
                    <div class="action-module">
                      <label class="text-right">课时&nbsp;1:</label>
                      <div class="compile-action text-center">
                        <a href="${ctx.host}/individual-rounds/1/round-coursewares/6/schedule-coursewares/1/movements/create" class="btn btn-default btn-shadow-default" data-toggle="modal" data-target="#create">添加动作</a>
                        <a href="${ctx.host}/individual-rounds/1/round-coursewares/6/schedule-coursewares/1/rest" class="btn btn-success btn-shadow-success btn-rest" data-toggle="modal" data-target="#rest">设为休息日</a>
                      </div>
                    </div>
                  
                    <div class="action-module">
                      <label class="text-right">课时&nbsp;2:</label>
                      <div class="compile-action clearfix">
    <%--                     <div class="operation-bar clearfix">
                          <a href="${ctx.host}/individual-rounds/1/round-coursewares/6/schedule-coursewares/1/movements/create" class="btn btn-default btn-shadow-default operation-btn pull-right" data-toggle="modal" data-target="#create">添加动作</a>
                        </div> --%>
                        <div class="action-layout">
                            <a href="${ctx.host}/individual-rounds/1/round-coursewares/6/schedule-coursewares/1/movements/1/edit" class="add-action" data-toggle="modal" data-target="#edit">
                              <div class="action-cover">
                                <img src="${ctx.resource}/images/1.jpeg" alt="">
                                <p>拉伸动作</p>
                              </div>
                              <p>2组&nbsp;，&nbsp;每组20次</p>
                            </a>
                            <a href="${ctx.host}/individual-rounds/1/round-coursewares/6/schedule-coursewares/1/movements/1/delete" class="close-module" data-toggle="modal" data-target="#delete"></a>
                        </div>
                        
                        <div class="action-layout">
                            <a href="${ctx.host}/individual-rounds/1/round-coursewares/6/schedule-coursewares/1/movements/1/edit" class="add-action" data-toggle="modal" data-target="#edit">
                              <div class="action-cover">
                                <img src="${ctx.resource}/images/1.jpeg" alt="">
                                <p>拉伸动作</p>
                              </div>
                              <p>2组&nbsp;，&nbsp;每组20次</p>
                            </a>
                            <a href="${ctx.host}/individual-rounds/1/round-coursewares/6/schedule-coursewares/1/movements/1/delete" class="close-module" data-toggle="modal" data-target="#delete"></a>
                        </div>
                        <div class="action-layout">
                            <a href="${ctx.host}/individual-rounds/1/round-coursewares/6/schedule-coursewares/1/movements/create" class="add-module" data-toggle="modal" data-target="#create">
                              <div class="action-add">
                                <img src="${ctx.resource}/images/add.png" alt="">
                              </div>
                            </a>
                        </div>
                        
                      </div>
                    </div>
                  
                    <div class="action-module">
                      <label class="text-right">课时&nbsp;3:</label>
                      <div class="compile-action clearfix">
                        <div class="action-layout">
                            <a href="${ctx.host}/individual-rounds/1/round-coursewares/6/schedule-coursewares/1/movements/1/edit" class="add-action" data-toggle="modal" data-target="#edit">
                              <div class="action-cover">
                                <img src="${ctx.resource}/images/1.jpeg" alt="">
                                <p>拉伸动作</p>
                              </div>
                              <p>2组&nbsp;，&nbsp;每组20次</p>
                            </a>
                            <a href="${ctx.host}/individual-rounds/1/round-coursewares/6/schedule-coursewares/1/movements/1/delete" class="close-module" data-toggle="modal" data-target="#delete"></a>
                        </div>
                        
                        <div class="action-layout">
                            <a href="${ctx.host}/individual-rounds/1/round-coursewares/6/schedule-coursewares/1/movements/1/edit" class="add-action" data-toggle="modal" data-target="#edit">
                              <div class="action-cover">
                                <img src="${ctx.resource}/images/1.jpeg" alt="">
                                <p>拉伸动作</p>
                              </div>
                              <p>2组&nbsp;，&nbsp;每组20次</p>
                            </a>
                            <a href="${ctx.host}/individual-rounds/1/round-coursewares/6/schedule-coursewares/1/movements/1/delete" class="close-module" data-toggle="modal" data-target="#delete"></a>
                        </div>
                        <div class="action-layout">
                            <a href="${ctx.host}/individual-rounds/1/round-coursewares/6/schedule-coursewares/1/movements/1/edit" class="add-action" data-toggle="modal" data-target="#edit">
                              <div class="action-cover">
                                <img src="${ctx.resource}/images/1.jpeg" alt="">
                                <p>拉伸动作</p>
                              </div>
                              <p>2组&nbsp;，&nbsp;每组20次</p>
                            </a>
                            <a href="${ctx.host}/individual-rounds/1/round-coursewares/6/schedule-coursewares/1/movements/1/delete" class="close-module" data-toggle="modal" data-target="#delete"></a>
                        </div>
                        <div class="action-layout">
                            <a href="${ctx.host}/individual-rounds/1/round-coursewares/6/schedule-coursewares/1/movements/create" class="add-module" data-toggle="modal" data-target="#create">
                              <div class="action-add">
                                <img src="${ctx.resource}/images/add.png" alt="">
                              </div>
                            </a>
                        </div>
                      </div>
                    </div>
                    <div class="action-module">
                      <label class="text-right">课时&nbsp;4:</label>
                      <div class="compile-action">
                        <p class="rest text-center">今日休息<a href="${ctx.host}/individual-rounds/1/round-coursewares/6/schedule-coursewares/1/movements/create" class="" data-toggle="modal" data-target="#create">重新添加动作</a></p>
                      </div>
                    </div>
                    <div class="action-module">
                      <label class="text-right">课时&nbsp;5:</label>
                      <div class="compile-action">
                        <p class="rest text-center">今日休息<a href="${ctx.host}/individual-rounds/1/round-coursewares/6/schedule-coursewares/1/movements/create" class="" data-toggle="modal" data-target="#create">重新添加动作</a></p>
                      </div>
                    </div>
                    <div class="action-module">
                      <label class="text-right">课时&nbsp;6:</label>
                      <div class="compile-action">
                        <p class="rest text-center">今日休息<a href="${ctx.host}/individual-rounds/1/round-coursewares/6/schedule-coursewares/1/movements/create" class="" data-toggle="modal" data-target="#create">重新添加动作</a></p>
                      </div>
                    </div>
                  
                  </div>
                  
                  <%--   END LEFT：1-6    --%>
                  
                  
                  <%--   BEGIN RIGHT：7-12    --%>
                  
                  <div class="col-xs-12 col-lg-6">
                  
	                <div class="action-module">
	                  <label class="text-right">课时&nbsp;7:</label>
	                  <div class="compile-action">
	                    <p class="rest text-center">今日休息<a href="${ctx.host}/individual-rounds/1/round-coursewares/6/schedule-coursewares/1/movements/create" class="" data-toggle="modal" data-target="#create">重新添加动作</a></p>
	                  </div>
	                </div>
	                <div class="action-module">
                      <label class="text-right">课时&nbsp;8:</label>
                      <div class="compile-action text-center">
                        <a href="${ctx.host}/individual-rounds/1/round-coursewares/6/schedule-coursewares/1/movements/create" class="btn btn-default btn-shadow-default" data-toggle="modal" data-target="#create">添加动作</a>
                        <a href="${ctx.host}/individual-rounds/1/round-coursewares/6/schedule-coursewares/1/rest" class="btn btn-success btn-shadow-success btn-rest" data-toggle="modal" data-target="#rest">设为休息日</a>
                      </div>
                    </div>
	                <div class="action-module">
	                  <label class="text-right">课时&nbsp;9:</label>
	                  <div class="compile-action">
	                    <p class="rest text-center">今日休息<a href="${ctx.host}/individual-rounds/1/round-coursewares/6/schedule-coursewares/1/movements/create" class="" data-toggle="modal" data-target="#create">重新添加动作</a></p>
	                  </div>
	                </div>
	                <div class="action-module">
                      <label class="text-right">课时&nbsp;10:</label>
                      <div class="compile-action clearfix">
    <%--                     <div class="operation-bar clearfix">
                          <a href="${ctx.host}/individual-rounds/1/round-coursewares/6/schedule-coursewares/1/movements/create" class="btn btn-default btn-shadow-default operation-btn pull-right" data-toggle="modal" data-target="#create">添加动作</a>
                        </div> --%>
                        <div class="action-layout">
                            <a href="${ctx.host}/individual-rounds/1/round-coursewares/6/schedule-coursewares/1/movements/1/edit" class="add-action" data-toggle="modal" data-target="#edit">
                              <div class="action-cover">
                                <img src="${ctx.resource}/images/1.jpeg" alt="">
                                <p>拉伸动作</p>
                              </div>
                              <p>2组&nbsp;，&nbsp;每组20次</p>
                            </a>
                            <a href="${ctx.host}/individual-rounds/1/round-coursewares/6/schedule-coursewares/1/movements/1/delete" class="close-module" data-toggle="modal" data-target="#delete"></a>
                        </div>
                        
                        <div class="action-layout">
                            <a href="${ctx.host}/individual-rounds/1/round-coursewares/6/schedule-coursewares/1/movements/1/edit" class="add-action" data-toggle="modal" data-target="#edit">
                              <div class="action-cover">
                                <img src="${ctx.resource}/images/1.jpeg" alt="">
                                <p>拉伸动作</p>
                              </div>
                              <p>2组&nbsp;，&nbsp;每组20次</p>
                            </a>
                            <a href="${ctx.host}/individual-rounds/1/round-coursewares/6/schedule-coursewares/1/movements/1/delete" class="close-module" data-toggle="modal" data-target="#delete"></a>
                        </div>
                        <div class="action-layout">
                            <a href="${ctx.host}/individual-rounds/1/round-coursewares/6/schedule-coursewares/1/movements/create" class="add-module" data-toggle="modal" data-target="#create">
                              <div class="action-add">
                                <img src="${ctx.resource}/images/add.png" alt="">
                              </div>
                            </a>
                        </div>
                        
                      </div>
                    </div>
	                <div class="action-module">
	                  <label class="text-right">课时&nbsp;11:</label>
	                  <div class="compile-action">
	                    <p class="rest text-center">今日休息<a href="${ctx.host}/individual-rounds/1/round-coursewares/6/schedule-coursewares/1/movements/create" class="" data-toggle="modal" data-target="#create">重新添加动作</a></p>
	                  </div>
	                </div>
	                <div class="action-module">
	                  <label class="text-right">课时&nbsp;12:</label>
	                  <div class="compile-action">
	                    <p class="rest text-center">今日休息<a href="${ctx.host}/individual-rounds/1/round-coursewares/6/schedule-coursewares/1/movements/create" class="" data-toggle="modal" data-target="#create">重新添加动作</a></p>
	                  </div>
	                </div>
                 
                  </div>
                  
                  <%--   END RIGHT：7-12    --%>
                  
              </div>
            </div>
            
          </div>
          </div>
          
        </div>
          
        </div>

      </div>

    </div>

  <%@ include file="/WEB-INF/include/script.jsp"%>
  <d:resource root="${ctx.resource}/build" type="script" src="js/page/course/round-courseware.js">
    <script type="text/javascript">
      require(['page/course/round-courseware'], function(page) {
        page.init()
      })
    </script>
  </d:resource>
  
</body>

</html>
